package com.zsrt.t02;


import org.junit.Test;

public class T02Test {
	
	/**
	 * switchMethod  goHome()
	 * @throws Exception
	 */
	@Test
	public void switchMethod() throws Exception {
		
		T02 t=new T02();
		t.switchMethod("老板");
		t.switchMethod("普工");
		
		
	}
	
	/**
	 * ifelseMethod goHome()
	 * @throws Exception
	 */
	@Test
	public void ifelseMethod() throws Exception {
	
		T02 t=new T02();
		t.ifelseMethod("其他人");
		t.ifelseMethod("白领");
		
	}

}
